package com.atguigu.gulimall.test.entity;

import com.atguigu.gulimall.test.anotation.LuBan;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Data
@Component("student")
public class Student {
    private Long id;

    @LuBan(name = "刘君")
    private String name;

    private Teacher teacher;


    public Student(){
        System.out.println("优先执行我");
    }



}
